<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%> 
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
	<div class="gotop">
			<c:if test="${empty userId}">
				<a href="<%=basePath%>frontPage/login.jsp">
				<dl>
					<dt><img src="<%=basePath%>frontPage/img/gt1.png"/></dt>
					<dd>去购<br />物车</dd>
				</dl>
			</a>
			</c:if>
			<c:if test="${not empty userId}">
				<a href="<%=basePath%>toShoppingCartPage/${userId}">
					<dl>
						<dt><img src="<%=basePath%>frontPage/img/gt1.png"/></dt>
						<dd>去购<br />物车</dd>
					</dl>
				</a>
			</c:if>
			<a href="#" class="dh">
			<dl>
				<dt><img src="<%=basePath%>frontPage/img/gt2.png"/></dt>
				<dd>联系<br />客服</dd>
			</dl>
			</a>
			<c:if test="${empty userId}">
				<a href="<%=basePath%>frontPage/login.jsp">
					<dl>
						<dt><img src="<%=basePath%>frontPage/img/gt3.png"/></dt>
						<dd>个人<br />中心</dd>
					</dl>
				</a>
			</c:if>
			<c:if test="${not empty userId}">
				<a href="<%=basePath%>toMySelfPage/${userId}">
					<dl>
						<dt><img src="<%=basePath%>frontPage/img/gt3.png"/></dt>
						<dd>个人<br />中心</dd>
					</dl>
				</a>
			</c:if>
			<a href="#" class="toptop" style="display: none">
			<dl>
				<dt><img src="<%=basePath%>frontPage/img/gt4.png"/></dt>
				<dd>返回<br />顶部</dd>
			</dl>
			</a>
			<p>400-800-8200</p>
		</div>
</body>
</html>